﻿using System;
using System.Collections.Generic;
using System.Web;
using WxPayAPI.lib;

namespace WxPayAPI
{
    /**
    * 	配置账号信息
    */
    public class WxPayConfig
    {

        private static volatile IConfig _config;
        private static readonly object _syncRoot = new object();

        public static IConfig GetConfig(){
            if(_config == null){
                lock(_syncRoot)
                {
                    if (_config == null)
                        _config = new  DemoConfig();
                }
            }
            return _config;
        } 


       


    }
}